package net.zhengxinyun.performance.service.measurement;

import net.zhengxinyun.performance.entity.AnswerEntity;
import net.zhengxinyun.performance.entity.EvaluateUserEntity;
import net.zhengxinyun.performance.entity.MeasurementInformationEntity;
import net.zhengxinyun.performance.filter.AnswerFilter;
import net.zhengxinyun.performance.filter.MeasurementInformationFilter;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by hyp1202 on 2018/12/29.
 */
public interface AnswerService {
    String insert(MeasurementInformationEntity measurementInformationEntity, List<AnswerEntity> list);

    String insert(MeasurementInformationEntity measurementInformationEntity,List<AnswerEntity> list,EvaluateUserEntity evaluateUserEntity);

    String insertList(MeasurementInformationEntity measurementInformationEntity, List<AnswerEntity> list);

    String insertList(MeasurementInformationEntity measurementInformationEntity,List<AnswerEntity> list,EvaluateUserEntity evaluateUserEntity);

    String update(MeasurementInformationEntity measurementInformationEntity,AnswerEntity answerEntity);

    String delete(MeasurementInformationEntity measurementInformationEntity);

    Map<String,Object> query(AnswerFilter answerFilter);

    List<MeasurementInformationFilter> login(String phone);

    List<MeasurementInformationFilter> noLogin();

    List<AnswerFilter> queryForAnswerCount(AnswerFilter answerFilter);
}
